From: Keir Fraser Date: Sat, 27 Mar 2010 16:00:30 +0000 (+0000) Subject: xend: Do not set execute permission on qemu-dm log file. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12465 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=1e1c9845799ca82c3b2501701829b1304d8218c3;p=xen.git xend: Do not set execute permission on qemu-dm log file. Signed-off-by: Daniel Kiper --- diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index 7f99a699df..cb5f6350e6 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -435,7 +435,7 @@ class ImageHandler: os.rename(self.logfile, self.logfile + ".1") null = os.open("/dev/null", os.O_RDONLY) - logfd = os.open(self.logfile, logfile_mode) + logfd = os.open(self.logfile, logfile_mode, 0666) sys.stderr.flush() contract = osdep.prefork("%s:%d" %